package kr.hkit.androidcomplete02.ch14;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;

public class AttrButton extends Button {

	String mText = "";
	public AttrButton(Context context, AttributeSet attrs) {
		super(context, attrs);
		
		int i;
		String Name;
		String Value;
		
		for(i=0; i<attrs.getAttributeCount(); i++){
			Name = attrs.getAttributeName(i);
			Value = attrs.getAttributeName(i);
			mText += (Name + "=" + Value + "\n");
		}
	}

}
